﻿<%@ Page Title=" " Language="VB" MasterPageFile="~/Devida/Siste.master" AutoEventWireup="false" CodeFile="POAFisico.aspx.vb" Inherits="Devida_POAFisico" Theme="Yahoo-Ocean" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<%@ Register src="ucAlerta.ascx" TagName="Alerta" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <base target="_self" />
<link href="../css/EstilosFrm.css" type="text/css" rel="stylesheet" /> 
   <link href="../css/i_consultas.css" type="text/css" rel="stylesheet" />
   <link href="../css/diseno.css" type="text/css" rel="Stylesheet" />
    <link href="../css/style2.css" type="text/css" rel="stylesheet" />
    <link href="../css/StyleSheet.css" type="text/css" rel="stylesheet" />
    
    <script src="../js/jsForms/js_Consulta.js" type="text/javascript"></script>
    <script src="../js/js_windowpopup.js" type="text/javascript"></script>
    <script language="javascript" src="../Script/PrintScript.js" type="text/javascript"> </script>
    <script language="javascript" type="text/javascript">
   

        function Resaltar_On(GridView) {
            if (GridView != null) {
                GridView.originalBgColor = GridView.style.backgroundColor;
                GridView.style.backgroundColor = "#5BADFF";
            }
        }

        function Resaltar_Off(GridView) {
            if (GridView != null) {
                GridView.style.backgroundColor = GridView.originalBgColor;
            }
        }
    
    </script>
     
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            height: 9px;
        }
        .Cabecera
        {
            height: 18px;
            font-weight: bold;
            font-size: 10px;
            color: White; 
            text-align: center;
            text-transform: uppercase;
            background-color: #66CC99;
        }
    </style>
     
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_name" Runat="Server">

    <asp:Label ID="lb_name" runat="server" Font-Names="Arial"
                        Font-Size="17px" ForeColor="white" Text="Monitoreo Mensual&nbsp;" 
                        Font-Bold="True"></asp:Label>                    

</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <table cellpadding="0" cellspacing="0" width="901px" style="border: 1px solid #295EAB;
        text-align: left; color: #FFFFFF;" bgcolor="White">
        <tr>
            <td class="btn" align="center" style="color: #FFFFFF; font-family: Arial, Helvetica, sans-serif;
                width: 200px; height: 25px; font-size: medium;" bgcolor="#009933">
                <asp:Label ID="Label1" runat="server" Font-Names="Arial" Font-Size="17px" ForeColor="white"
                    Text="Avance  Fisico" Font-Bold="True"></asp:Label>
            </td>
            <td style="color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; width: 550px;
                font-size: small;" bgcolor="#009933">
                <asp:Label ID="lblPoa" runat="server" Font-Names="Arial" Font-Size="10px" ForeColor="white"></asp:Label>
            </td>
            <td style="color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; font-size: small;"
                bgcolor="#009933">
                <asp:Label ID="lblPeriodo" runat="server" Text="Periodo: "></asp:Label>
            </td>
            <td bgcolor="#009933">
                <asp:DropDownList ID="ddlPeriodo" runat="server" CssClass="ddl" AutoPostBack="True">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <table cellpadding="0" cellspacing="0" width="900px">
                    <tr>
                        <td>
                            <table cellpadding="0" cellspacing="0" style="width: 900px; height: 300px;">
                                <tr>
                                    <td>
                                        <div style="width: 900px; height: 350px; overflow: auto;" align="center">
                                            <asp:UpdatePanel ID="UpdatePanel1" runat="server" Width="1500px">
                                                <ContentTemplate>
                                                    <asp:GridView ID="gv_fisico" runat="server" AutoGenerateColumns="False" CellPadding="0"
                                                        CssClass="grid" Font-Size="10pt" ShowHeader="true" GridLines="Both" Width="1200px">
                                                        <RowStyle ForeColor="#333333" Font-Bold="False" BackColor="#F7F6F3" VerticalAlign="Top" />
                                                        <Columns>
                                                            <asp:BoundField DataField="Descripcion" HeaderText="Periodo" ItemStyle-Width="100px"
                                                                ItemStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="COMPONENTE" HeaderText="Componente" ItemStyle-Width="300px"
                                                                ItemStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="UNIDAD" HeaderText="Unidad de medida" ItemStyle-Width="100px"
                                                                ItemStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="ANUAL" HeaderText="Anual" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" />
                                                            <asp:BoundField DataField="ACTUAL" HeaderText="Del mes" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" />
                                                            <asp:BoundField DataField="ACUMULADA" HeaderText="Acumulado" ItemStyle-Width="100px"
                                                                ItemStyle-HorizontalAlign="Right" />
                                                            <asp:BoundField DataField="VISITA1" HeaderText="Visita 1" ItemStyle-Width="100px"
                                                                ItemStyle-HorizontalAlign="Right" />
                                                            <asp:BoundField DataField="VISITA2" HeaderText="Visita 2" ItemStyle-Width="100px"
                                                                ItemStyle-HorizontalAlign="Right" />
                                                            <asp:BoundField DataField="VISITA3" HeaderText="Visita 3" ItemStyle-Width="100px"
                                                                ItemStyle-HorizontalAlign="Right" />
                                                            <asp:BoundField DataField="VISITA4" HeaderText="Visita 4" ItemStyle-Width="100px"
                                                                ItemStyle-HorizontalAlign="Right" />
                                                            <asp:BoundField DataField="OBSERVACIONES" HeaderText="Observaciones" ItemStyle-HorizontalAlign="Left" />
                                                        </Columns>
                                                        <SelectedRowStyle BackColor="#5BADFF" Font-Bold="True" ForeColor="#333333" />
                                                        <AlternatingRowStyle BackColor="#CEDAF2" ForeColor="#003366" />
                                                        <PagerStyle BackColor="#336699" Font-Bold="True" Font-Names="Verdana" Font-Size="10px"
                                                            ForeColor="White" Wrap="False" HorizontalAlign="left" />
                                                    </asp:GridView>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                        </div>
                                        <div id="print_area" style="width: 100%; display: none;">
                                            <table style="width: 1200px" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td align="center" colspan="2">
                                                        <asp:Label ID="Label21" runat="server" Style="font-family: Arial, Helvetica, sans-serif;
                                                            font-size: 15px" Text="Avance Físico" Font-Bold="True"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr style="height: 10px">
                                                    <td>
                                                        &nbsp
                                                    </td>
                                                    <td>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">
                                                        <asp:Label ID="lblPoaImp" runat="server" Style="font-family: Arial, Helvetica, sans-serif;
                                                            font-size: 11px"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 200px">
                                                        <asp:Label ID="Label22" runat="server" Style="font-family: Arial, Helvetica, sans-serif;
                                                            font-size: 11px" Text="MONITOREADOR:  "></asp:Label>
                                                        <asp:Label ID="lblMonitoreador" runat="server" Style="font-family: Arial, Helvetica, sans-serif;
                                                            font-size: 11px"></asp:Label>
                                                    </td>
                                                    <td style="width: 1000px">
                                                        <asp:Label ID="Label4" runat="server" Style="font-family: Arial, Helvetica, sans-serif;
                                                            font-size: 11px" Text="PPER:  "></asp:Label>
                                                        <asp:Label ID="lblPPER" runat="server" Style="font-family: Arial, Helvetica, sans-serif;
                                                            font-size: 11px"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr style="height: 10px">
                                                    <td>
                                                        &nbsp
                                                    </td>
                                                    <td>
                                                    </td>
                                                </tr>
                                            </table>
                                            <asp:GridView ID="gv_doc" runat="server" AutoGenerateColumns="False" GridLines="both"
                                                CellPadding="4" HeaderStyle-Font-Size="10pt" BorderColor="Black" ShowHeader="true"
                                                Width="1200px" RowStyle-Font-Size="8pt">
                                                <RowStyle VerticalAlign="Top" Font-Names="Arial, Helvetica, sans-serif" Font-Size="11px" />
                                                <Columns>
                                                    <asp:BoundField DataField="Descripcion" HeaderText="Periodo" ItemStyle-Width="100px"
                                                        ItemStyle-HorizontalAlign="Left" />
                                                    <asp:BoundField DataField="COMPONENTE" HeaderText="Componente / Actividad" ItemStyle-Width="300px"
                                                        ItemStyle-HorizontalAlign="Left" />
                                                    <asp:BoundField DataField="UNIDAD" HeaderText="Unidad de Medida" ItemStyle-Width="70px"
                                                        ItemStyle-HorizontalAlign="Left" />
                                                    <asp:BoundField DataField="ANUAL" HeaderText="Anual" ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Right" />
                                                    <asp:BoundField DataField="ACTUAL" HeaderText="Del mes" ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Right" />
                                                    <asp:BoundField DataField="ACUMULADA" HeaderText="Acumulado" ItemStyle-Width="70px"
                                                        ItemStyle-HorizontalAlign="Right" />
                                                    <asp:BoundField DataField="VISITA1" HeaderText="Visita 1" ItemStyle-Width="70px"
                                                        ItemStyle-HorizontalAlign="Right" />
                                                    <asp:BoundField DataField="VISITA2" HeaderText="Visita 2" ItemStyle-Width="70px"
                                                        ItemStyle-HorizontalAlign="Right" />
                                                    <asp:BoundField DataField="VISITA3" HeaderText="Visita 3" ItemStyle-Width="70px"
                                                        ItemStyle-HorizontalAlign="Right" />
                                                    <asp:BoundField DataField="VISITA4" HeaderText="Visita 4" ItemStyle-Width="70px"
                                                        ItemStyle-HorizontalAlign="Right" />
                                                    <asp:BoundField DataField="OBSERVACIONES" HeaderText="Observaciones" ItemStyle-HorizontalAlign="Left" />
                                                </Columns>
                                            </asp:GridView>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>        
    </table>   
    <table cellpadding="0" cellspacing="0" width="901px" style="text-align:left" >
    <tr>
            <td colspan="4">
                <table style="width: 100%">
                    <tr>
                        <td width="120px">
                            <img id="btnImprimir" runat="server" title="Imprimir Avance Físico" src="../Imagenes/btnImprimir.png"
                                style="cursor: hand" alt="" onclick="getPrint('print_area')" />
                        </td>
                        <td>
                        </td>
                        <td style="width: 40px" align="right">
                            <asp:ImageButton ID="ibSalir" ToolTip="Salir" runat="server" ImageUrl="~/Imagenes/btnSalir.png" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
      <uc1:Alerta id="alerta" runat="server"></uc1:Alerta>                          
</asp:Content>

